package com.bjbn.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 查询指令下发列表请求DTO
 * 
 * @author bjbn
 */
@Schema(description = "查询指令下发列表请求")
@Data
public class IotCommandListRequest {

    @Schema(description = "设备id", required = true, example = "15076833-1")
    private String deviceId;

    @Schema(description = "产品id", required = true, example = "10000091")
    private Long productId;

    @Schema(description = "指令状态，1已保存，2已发送，3已送达，4已完成，5未应答，6已取消，7已超期，999发送失败", example = "3")
    private Integer status;

    @Schema(description = "查询当前页", required = true, example = "0")
    private Integer pageNow;

    @Schema(description = "查询页大小", required = true, example = "10")
    private Integer pageSize;

    @Schema(description = "查询开始时间，格式：yyyyMMddHHmmss", required = true, example = "20230201000000")
    private String startTime;

    @Schema(description = "查询结束时间，格式：yyyyMMddHHmmss", required = true, example = "20230211235959")
    private String endTime;

    @Schema(description = "API版本", example = "20230705181740")
    private String apiVersion;
} 